package com.luoran.car.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luoran.car.domain.SysCarComplaints;
import com.luoran.car.service.SysCarComplaintsService;
import com.luoran.car.mapper.SysCarComplaintsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 路飞
* @description 针对表【sys_car_complaints(客户投诉反馈表)】的数据库操作Service实现
* @createDate 2024-09-20 16:37:55
*/
@Service
public class SysCarComplaintsServiceImpl extends ServiceImpl<SysCarComplaintsMapper, SysCarComplaints>
    implements SysCarComplaintsService{

    @Autowired
    SysCarComplaintsMapper complaintsMapper;

    @Override
    public List<SysCarComplaints> complanintsList() {
        return complaintsMapper.complanintsList();
    }

    @Override
    public Boolean complanintsInsert(SysCarComplaints carComplaints) {
        return complaintsMapper.complanintesInsert(carComplaints);
    }

    @Override
    public Boolean complanintsDel(Integer id) {
        return complaintsMapper.complanintsDel(id);
    }

    @Override
    public Boolean complanintsUpdata(SysCarComplaints carComplaints) {
        return complaintsMapper.complanintesUpdata(carComplaints);
    }

}




